home *** CD-ROM | disk | FTP | other *** search
- set $4 to isadmin ""
- goto @adminerr if equal {$4} "0"
-
- set $4 to inifile {%windir}win.ini "TLC Options" "$sel1ewd"
- goto @setup if not equal {$4} ""
-
- child upsell.exe sel1ewd
-
- // Start setup if product has been purchased
- set $4 to inifile {%windir}win.ini "TLC Options" "$sel1ewd"
- goto @end if equal {$4} ""
-
- @setup
- child "install\setup.exe" "-sms"
-
- goto @end
-
- @adminerr
- message "Error" "We're sorry, you must have be an administrator to install or run this program. Please log on as an administrator and try again."
- stop
-
- @end
- stop